package com.woniuxy.service;

import java.util.List;

import com.woniuxy.pojo.Guest;

import com.woniuxy.pojo.Opinon;


import java.math.BigDecimal;

import com.woniuxy.pojo.Guest;
import com.woniuxy.pojo.Opinon;


import com.woniuxy.pojo.Opinon;


import java.math.BigDecimal;

import java.util.ArrayList;
import java.util.Date;

import com.woniuxy.pojo.Order;
import com.woniuxy.pojo.Order2;
import com.woniuxy.pojo.OrderDetail;
import com.woniuxy.pojo.OrderDetailgjf;
import com.woniuxy.pojo.OrderDetail;
import com.woniuxy.pojo.OrderDetaillyq;
import com.woniuxy.pojo.Order_dgy;
import com.woniuxy.pojo.Room;
import com.woniuxy.pojo.Roomgjf;

public interface OrderService {

	Roomgjf findRoomByRid(int rid);

	List<Guest> findAllGuest(int uid);


	public ArrayList<Order> all(int uid);

	public ArrayList<OrderDetaillyq> findByOid(int oid);

	int saveOpinion(int odid, Float grade, String opinion);

	int updateState(int odid,String state);

	ArrayList<Opinon> allOpinion();

	float findMemberInf(int uid);

	float findDidcount1();

	float findDidcount2();

	String createOrder(Order order);

	int findOid(String onumber);

	String createOrderList(OrderDetailgjf ol);

	void changeStateByOid(int oid,String ostate);

	void changeDeleByOid(int oid, int i);

	ArrayList<Order2> all2();

	ArrayList<Opinon> allOpinion2();
	ArrayList<Opinon> allOpinion3();
	ArrayList<Opinon> allOpinion4();
	
	int addOrder(Order_dgy order);

	Order_dgy findByOrder(Order_dgy order);

	int changeOrder(Order_dgy order);

	List<Order_dgy> findAll();

	Order_dgy findOrderByMessage(String message);

	Order_dgy findById(String oid);

	List<Order_dgy> completeOrder();

	List<Order_dgy> cancelOrder();

	int deleteOrder(String oNumber);


}
